<?php 
	$cs = Yii::app()->clientScript;
	$cs->registerScriptFile(BASE_URL . '/js/yu_zoom/jquery.mousewheel.min.js', CClientScript::POS_END);
	$cs->registerScriptFile(BASE_URL . '/assets/2bad628c/jui/js/jquery-ui.min.js', CClientScript::POS_END);
	$cs->registerScriptFile(BASE_URL . '/js/yu_zoom/yuZoom_lan_zh-cn.js', CClientScript::POS_END);
	$cs->registerScriptFile(BASE_URL . '/js/yu_zoom/des.js', CClientScript::POS_END);
	$cs->registerScriptFile(BASE_URL . '/js/yu_zoom/yuUtils.js', CClientScript::POS_END);
	$cs->registerScriptFile(BASE_URL . '/js/yu_zoom/yuZoom.js', CClientScript::POS_END);
	$cs->registerCssFile(BASE_URL . '/js/yu_zoom/css/yuZoom.css');
?>
<div id="show_3d" style="display:inline-block;width:500px;height:500px;"></div>
<script>
	var yuZoom = null;
	var yuZoomKey = '<?php echo YU_ZOOM_KEY ?>';
	$(function(){
		yuZoom = new YuZoom({
			content: $("#show_3d"),
			configUrl : '/Show360/Conf/<?php echo $id?>'
		});
	});
</script>